xend: Fix bug of cpu affinity/ vcpu pin under ia32pae
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 17:31:39 +0000 (18:31 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 17:31:39 +0000 (18:31 +0100)
commit5657c1d9cbec292bb1f6aec6f2ea9df428ac4fc6
tree998e1ed6cc9e43c275e9557c741d48f4af9a08c2
parent7c65239bc4f27d0b520955f281c7e2567fd18ef3
xend: Fix bug of cpu affinity/ vcpu pin under ia32pae

c/s 21040 and 21044 used to break cpu number limit (<=64).
However, they result in bug under ia32pae model:
1. things will go wrong for affinity, making all vcpus pin to a same
cpu with same time;
2. when 'xm vcpu-pin' vpu to cpu, xend will exit abnormally.

This patch is to fix the bugs described above.

Signed-off-by: Xu, Jiajun <jiajun.xu@intel.com>
Signed-off-by: Zhang, Jianwu <jianwu.zhang@inte.com>
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
tools/python/xen/lowlevel/xc/xc.c